package nxu.it.service;

public class LoginService {
    public String loginCheck(String username, String password) {
        if(username == null || username.equals(""))
            return "<h1>用户名不能为空</h1>";
        if(password == null || password.equals(""))
            return "<h1>密码不能为空</h1>";
        if(username.equals(password))
            return "<h1>登录成功</h1>";
        else
            return "<h1>登录失败</h1>";
    }
}
